package com.chy.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class UserAllInfo implements Serializable {

    private Long id;

    private Long userId;

    private String name;

    private String sex;

    private String avatar;

    private String backImg;

    private String description;

    private String email;

    private String tel;

    private String address;

    private String password;

    private Integer status;

    private Integer deleted;

    private Integer isSuperAdmin;

    private Integer isAdmin;

    private Integer authRange;

    private Integer sort;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(fill = FieldFill.INSERT)
    private Long createUser;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;
}
